package funjava;

/**
 * Created by judasnow on 5/10/16.
 */
public class C1_1 {
    static void c1_1(Integer arg) {
        System.out.printf("%o\n", arg);
        // println 只能用 format 以为其不能带上格式化字符串
        System.out.printf("%s\n", Integer.toString(arg, 2));
        System.out.printf("%x\n", arg);
        System.out.printf("%a", "2");
    }
    public static void main(String[] args) {
        c1_1(1024);
    }
}
